using System.Data;
using VanTaiData;
using VanTaiProperty;
namespace VanTaiBLL
{
    public class clsTMBock_VehicleBusiness
    {
        public static clsTMBock_VehicleController cls = new clsTMBock_VehicleController();

        #region[Get-Data]
        public DataTable BindGirdTMBock_Vehicle()
        {
            return cls.BindGirdTMBock_Vehicle();
        }
        public DataTable BindGirdTMBock_Vehicle_Detail_Edit(int id)
        {
            return cls.BindGirdTMBock_Vehicle_Detail_Edit(id);
        }
        #endregion

        #region[Insert-Update-Delete]
        public static bool InsertTMBock_Vehicle(clsTMBock_VehicleProperty obj)
        {
            return cls.InsertTMBock_Vehicle(obj);
        }
        public static bool UpdateTMBock_Vehicle(clsTMBock_VehicleProperty obj)
        {
            return cls.UpdateTMBock_Vehicle(obj);
        }
        public static bool DeleteTMBock_Vehicle(int id)
        {
            return cls.DeleteTMBock_Vehicle(id);
        }
        public bool TMBock_Vehicle_Check_Delete_TMUnit_Vehicle(int id)
        {
            return cls.TMBock_Vehicle_Check_Delete_TMUnit_Vehicle(id);
        }
        #endregion

        #region[Search]
        public DataTable Search(string keywords)
        {
            return cls.Search(keywords);
        }
        #endregion
    }
}